package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.SaleQuotationEntity;

/**
 * 销售报价单Mapper接口
 * 
 * @author wutao
 * @date 2024-06-27
 */
public interface SaleQuotationMapper extends BaseMapper<SaleQuotationEntity> {
    /**
     * 查询销售报价单
     * 
     * @param id 销售报价单ID
     * @return 销售报价单
     */
    public SaleQuotationEntity selectSaleQuotationById(String id);

    /**
     * 查询销售报价单列表
     * 
     * @param saleQuotation 销售报价单
     * @return 销售报价单集合
     */
    public List<SaleQuotationEntity> selectSaleQuotationList(SaleQuotationEntity saleQuotation);

    /**
     * 新增销售报价单
     * 
     * @param saleQuotation 销售报价单
     * @return 结果
     */
    public int insertSaleQuotation(SaleQuotationEntity saleQuotation);

    /**
     * 修改销售报价单
     * 
     * @param saleQuotation 销售报价单
     * @return 结果
     */
    public int updateSaleQuotation(SaleQuotationEntity saleQuotation);

    /**
     * 删除销售报价单
     * 
     * @param id 销售报价单ID
     * @return 结果
     */
    public int deleteSaleQuotationById(String id);

    /**
     * 批量删除销售报价单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSaleQuotationByIds(String[] ids);
}
